package com.imonsoft.sqm.service.basedata;

import com.imonsoft.common.base.service.BaseService;
import com.imonsoft.common.httpModel.DataGrid;
import com.imonsoft.common.httpModel.Pager;
import com.imonsoft.sqm.pojo.basedata.Dictionary;

import java.util.List;

public interface DictionaryService extends BaseService<Dictionary>{
    public void deleteDictionary(List<Long> idList);
    public List<Dictionary> findDictionaryByType(String type);
    public List<Dictionary> findDictionaryByCode(String code);
    public DataGrid<Dictionary> getDataGridDictionaryType(Pager pager);
	/**
	 * 查询所有
	 */
	public List<Dictionary> queryAll();
	public Dictionary getDictionaryCodeType(String code, String type);
	public String getCodeByNameType(String name, String type);
	public String getNameByCodeType(String code, String type);
}
